import React, { Component } from 'react';
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux';
import * as Actions from '../store/modules/actions'
 
class Home extends Component {
    render() { 
    // console.log(this.props.list);
    // this.props.getList()
        return (
            <div>
                Home
            </div>
        );
    }
}

const mapStateToProps = (state) => {
    return  {...state}
}

const mapDispatchToProps = (dispatch)=>{
    return  bindActionCreators(Actions,dispatch)
}
 
export default connect(mapStateToProps,mapDispatchToProps)(Home);